HOMEPAGE = "https://github.com/Dima73/${PLUGINNAME}"

SRC_URI = "git://github.com/Dima73/${PLUGINNAME}.git;protocol=https;branch=master"
include python3-package-split.inc

inherit gitpkgv setuptools3-openplugins python3-compileall

PV = "1+git"
PKGV = "1+git${GITPKGV}"

do_install:append() {
	if ${@bb.utils.contains('PLUGIN_PATH','','true','false',d)}; then 
		install -d ${D}/${libdir}/enigma2/python/Plugins/${PLUGIN_PATH}/locale
		cp -rf ${S}/build/lib/${PLUGIN_PATH}/locale/ ${D}/${libdir}/enigma2/python/Plugins/${PLUGIN_PATH}/
	fi
}
